//
//  GetMediaListOperation.h
//  Vmix
//
//  Created by jeffs on 3/28/10.
//  Copyright 2010 VMIX Media. All rights reserved.
//

#import <Foundation/Foundation.h>

@class VmixVideo;

@protocol GetMediaListOperationDelegate;

@interface GetMediaListOperation : NSOperation {
	
	id <GetMediaListOperationDelegate> delegate;
	NSMutableArray * mediaArray;
	NSMutableData *mediaData;
	NSString *mediaApi;
	
}

@property(nonatomic, retain) id <GetMediaListOperationDelegate> delegate;
@property(nonatomic, retain) NSMutableArray * mediaArray;
@property(nonatomic, retain) NSMutableData *mediaData;
@property(nonatomic, retain) NSString *mediaApi;

@end

//Define protocol to communicate with object delegate after operation runs.
@protocol GetMediaListOperationDelegate
- (void)didFinishParsingMedia:(NSMutableArray *) mediaArray;
@end